package com.woniu.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "t_auction")
public class Auction implements Serializable {
    @Id
    private Integer aid;

    private Double deposit;

    @Column(name = "u_bid")
    private Integer uBid;

    @Column(name = "u_sid")
    private Integer uSid;

    private Integer agid;

    @Column(name = "deposit_number")
    private String depositNumber;

    @Column(name = "is_refunded")
    private Boolean isRefunded;

    private static final long serialVersionUID = 1L;

    /**
     * @return aid
     */
    public Integer getAid() {
        return aid;
    }

    /**
     * @param aid
     */
    public void setAid(Integer aid) {
        this.aid = aid;
    }

    /**
     * @return deposit
     */
    public Double getDeposit() {
        return deposit;
    }

    /**
     * @param deposit
     */
    public void setDeposit(Double deposit) {
        this.deposit = deposit;
    }

    /**
     * @return u_bid
     */
    public Integer getuBid() {
        return uBid;
    }

    /**
     * @param uBid
     */
    public void setuBid(Integer uBid) {
        this.uBid = uBid;
    }

    /**
     * @return u_sid
     */
    public Integer getuSid() {
        return uSid;
    }

    /**
     * @param uSid
     */
    public void setuSid(Integer uSid) {
        this.uSid = uSid;
    }

    /**
     * @return agid
     */
    public Integer getAgid() {
        return agid;
    }

    /**
     * @param agid
     */
    public void setAgid(Integer agid) {
        this.agid = agid;
    }

    /**
     * @return deposit_number
     */
    public String getDepositNumber() {
        return depositNumber;
    }

    /**
     * @param depositNumber
     */
    public void setDepositNumber(String depositNumber) {
        this.depositNumber = depositNumber;
    }

    /**
     * @return is_refunded
     */
    public Boolean getIsRefunded() {
        return isRefunded;
    }

    /**
     * @param isRefunded
     */
    public void setIsRefunded(Boolean isRefunded) {
        this.isRefunded = isRefunded;
    }
}